package com.sg.dto.biz.bff.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Objects;


/**
 * @desc BffBehaviorTypeMenuDto
 * @使用场景
 */
@Data
public class BffBehaviorTypeMenuDto implements Serializable {

    /**
     * 行为类型ID
     */
    @ApiModelProperty("行为类型ID")
    private String behaviorTypeId;

    /**
     * 行为类型编码
     */
    @ApiModelProperty("行为类型编码")
    private String behaviorTypeCode;

    /**
     * 行为类型名称
     */
    @ApiModelProperty("行为类型名称")
    private String behaviorTypeName;

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        if (!super.equals(o)) return false;
        BffBehaviorTypeMenuDto that = (BffBehaviorTypeMenuDto) o;
        return behaviorTypeId == that.behaviorTypeId && behaviorTypeCode == that.behaviorTypeCode && behaviorTypeName == that.behaviorTypeName;
    }

    @Override
    public int hashCode() {
        return Objects.hash(super.hashCode(), behaviorTypeId, behaviorTypeCode, behaviorTypeName);
    }


}
   